
#include "stdafx.h"

#ifndef _GLOBALS_H_
#define _GLOBALS_H_

extern HINSTANCE hMainInstance;

extern int cpolygon;
extern int INC_VALUE;
extern int cur_i;
extern float cur_r;
extern bool useratio;
extern bool iterative;
extern float x_viewpos, y_viewpos, z_viewpos;
extern float x_rotdir, y_rotdir, z_rotdir;
extern int polygonmode, pointsize, pointsmooth;
extern int coloring_mode, colortheme;
extern float rcolor, gcolor, bcolor;
extern bool change;
extern int cycles;

void InitialValues();

void LoadSettings();

void SaveGeneralSettings();
void SaveViewingSettings();
void SaveRenderingSettings();
void SaveColoringSettings ();

#endif